package Student;

public class Student {
    private String name = "张三";
    private String number = "123456";
    static String teacher = "吴";
    private int age;
    public Student(){

    }
    public Student(String name,String number){
        this.name = name;
        this.number = number;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public static void setTeacher(String teacher) {
        Student.teacher = teacher;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNumber() {
        return number;
    }
    public void ShowStudent(){
        System.out.println("姓名："+name+",学号："+number+",老师:"+teacher);
    }
}
